Skip to main content
Version: 8.4.08.4

AuctionState

V8 Message Definiton

METADATA

AttributeValue
Topic2450-liquidity-notice
MLink TokenSRConnect
ProductSRTrade
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
noticeNumberCHAR(19)PRI'0000-0000-0000-0000'
ticker_atenum - AssetType'None'underlier ticker
ticker_tsenum - TickerSrc'None'underlier ticker
ticker_tkVARCHAR(12)''underlier ticker
tradeDateDATE'1900-01-01'
isTestAuctionenum - YesNo'None'if yes auction is a test auction not a prodlive auction
auctionTypeenum - AuctionType'None'
blockAuctionCounterINT0
blockAuctionStatusenum - BlockAuctionStatus'None'ActiveFinalTrialCrossingCrossedCrossFailedClosed
custSideenum - BuySell'None'if available
custQtyINT0
custPrcDOUBLE0public cust price
hasCustPrcenum - YesNo'None'
uBidFLOAT0underlier bid price used to resolve limits during the last auction trial
uAskFLOAT0underlier ask price used to resolve limits during the last auction trial
nbboBidFLOAT0current option nbbo bid at time of record publish
nbboAskFLOAT0current option nbbo ask at time of record publish
nbboBidSzINT0current option nbbo cum bid size at time of record publish
nbboAskSzINT0current option nbbo cum ask size at time of record publish
surfacePrcFLOAT0SR surface price record publish uMid
surfaceVolFLOAT0SR surface volatility record publish
timestampDATETIME(6)'1900-01-01 00:00:00.000000'SR system timestamp record publish
AskSolutionListJSON'JSON_OBJECT()'
BidSolutionListJSON'JSON_OBJECT()'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
noticeNumber1

JSON Block (AskSolutionList)

FieldTypeComment
numRespondersbyte
matchPricedoublecurrent auction cross price in exchange price increments
matchSizeintcurrent auction size available match price

JSON Block (BidSolutionList)

FieldTypeComment
numRespondersbyte
matchPricedoublecurrent auction cross price in exchange price increments
matchSizeintcurrent auction size available match price

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRTrade`.`MsgAuctionState` (
`noticeNumber` CHAR(19) NOT NULL DEFAULT '0000-0000-0000-0000',
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'underlier ticker',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','ESX','ANY','CXE','DXE','NXAM','NXBR','NXDUB','NXLS','NXLDN','NXML','NXMLT','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'underlier ticker',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'underlier ticker',
`tradeDate` DATE NOT NULL DEFAULT '1900-01-01',
`isTestAuction` ENUM('None','Yes','No') NOT NULL DEFAULT 'None' COMMENT 'if yes, auction is a test auction (not a prod/live auction)',
`auctionType` ENUM('None','Exposure','Improvement','Facilitation','Solicitation','Opening','Closing','RFQ','Block','Flash') NOT NULL DEFAULT 'None',
`blockAuctionCounter` INT NOT NULL DEFAULT 0,
`blockAuctionStatus` ENUM('None','Active','FinalTrial','Crossing','Crossed','CrossFailed','Closed') NOT NULL DEFAULT 'None' COMMENT 'Active,FinalTrial,Crossing,Crossed,CrossFailed,Closed',
`custSide` ENUM('None','Buy','Sell') NOT NULL DEFAULT 'None' COMMENT 'if available',
`custQty` INT NOT NULL DEFAULT 0,
`custPrc` DOUBLE NOT NULL DEFAULT 0 COMMENT 'public cust price',
`hasCustPrc` ENUM('None','Yes','No') NOT NULL DEFAULT 'None',
`uBid` FLOAT NOT NULL DEFAULT 0 COMMENT 'underlier bid price (used to resolve limits during the last auction trial)',
`uAsk` FLOAT NOT NULL DEFAULT 0 COMMENT 'underlier ask price (used to resolve limits during the last auction trial)',
`nbboBid` FLOAT NOT NULL DEFAULT 0 COMMENT 'current option nbbo bid (at time of record publish)',
`nbboAsk` FLOAT NOT NULL DEFAULT 0 COMMENT 'current option nbbo ask (at time of record publish)',
`nbboBidSz` INT NOT NULL DEFAULT 0 COMMENT 'current option nbbo cum bid size (at time of record publish)',
`nbboAskSz` INT NOT NULL DEFAULT 0 COMMENT 'current option nbbo cum ask size (at time of record publish)',
`surfacePrc` FLOAT NOT NULL DEFAULT 0 COMMENT 'SR surface price @ record publish (uMid)',
`surfaceVol` FLOAT NOT NULL DEFAULT 0 COMMENT 'SR surface volatility @ record publish',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000' COMMENT 'SR system timestamp (record publish)',
`AskSolutionList` JSON NOT NULL DEFAULT JSON_OBJECT() CHECK(JSON_VALID(AskSolutionList)),
`BidSolutionList` JSON NOT NULL DEFAULT JSON_OBJECT() CHECK(JSON_VALID(BidSolutionList)),
CONSTRAINT nonnegative_noticeNumber CHECK(ASCII(noticeNumber) < 56),
PRIMARY KEY USING HASH (`noticeNumber`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';

SELECT TABLE EXAMPLE QUERY

SELECT
`noticeNumber`,
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`tradeDate`,
`isTestAuction`,
`auctionType`,
`blockAuctionCounter`,
`blockAuctionStatus`,
`custSide`,
`custQty`,
`custPrc`,
`hasCustPrc`,
`uBid`,
`uAsk`,
`nbboBid`,
`nbboAsk`,
`nbboBidSz`,
`nbboAskSz`,
`surfacePrc`,
`surfaceVol`,
`timestamp`,
`AskSolutionList`,
`BidSolutionList`
FROM `SRTrade`.`MsgAuctionState`
WHERE
/* Replace with a CHAR(19) */
`noticeNumber` = 'Example_noticeNumber';

Doc Columns Query

SELECT * FROM SRTrade.doccolumns WHERE TABLE_NAME='AuctionState' ORDER BY ordinal_position ASC;